package com.han.hotelplat.pojo.wallet;

import java.util.List;

import com.han.hotelplat.pojo.bill.Bill;
// default package



/**
 * Wallet entity. @author MyEclipse Persistence Tools
 */

public class Wallet  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String userid;
     private Float balance;
     private Float overdraft;
     private Integer usertype;
     private String paypassword;
     private Integer state;

     private List<Bill> billList;
     
    // Constructors

    /** default constructor */
    public Wallet() {
    }

    
    /** full constructor */
    public Wallet(String userid, Float balance, Float overdraft, Integer usertype, String paypassword, Integer state) {
        this.userid = userid;
        this.balance = balance;
        this.overdraft = overdraft;
        this.usertype = usertype;
        this.paypassword = paypassword;
        this.state = state;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserid() {
        return this.userid;
    }
    
    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Float getBalance() {
        return this.balance;
    }
    
    public void setBalance(Float balance) {
        this.balance = balance;
    }

    public Float getOverdraft() {
        return this.overdraft;
    }
    
    public void setOverdraft(Float overdraft) {
        this.overdraft = overdraft;
    }

    public Integer getUsertype() {
        return this.usertype;
    }
    
    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public String getPaypassword() {
        return this.paypassword;
    }
    
    public void setPaypassword(String paypassword) {
        this.paypassword = paypassword;
    }

    public Integer getState() {
        return this.state;
    }
    
    public void setState(Integer state) {
        this.state = state;
    }


	public List<Bill> getBillList() {
		return billList;
	}


	public void setBillList(List<Bill> billList) {
		this.billList = billList;
	}

}